//
// Decompiled by Jadx - 370ms
//
package me.plusne.common.Json.Login;

import java.io.Serializable;

public class JsonHookDataDecrypt implements Serializable {
    private boolean init;
    private String key;
    private String value;

    public boolean canEqual(Object obj) {
        return obj instanceof JsonHookDataDecrypt;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof JsonHookDataDecrypt)) {
            return false;
        }
        JsonHookDataDecrypt jsonHookDataDecrypt = (JsonHookDataDecrypt) obj;
        if (!jsonHookDataDecrypt.canEqual(this) || isInit() != jsonHookDataDecrypt.isInit()) {
            return false;
        }
        String key = getKey();
        String key2 = jsonHookDataDecrypt.getKey();
        if (key != null ? !key.equals(key2) : key2 != null) {
            return false;
        }
        String value = getValue();
        String value2 = jsonHookDataDecrypt.getValue();
        return value != null ? value.equals(value2) : value2 == null;
    }

    public String getKey() {
        return this.key;
    }

    public String getValue() {
        return this.value;
    }

    public int hashCode() {
        int i = isInit() ? 79 : 97;
        String key = getKey();
        int hashCode = ((i + 59) * 59) + (key == null ? 43 : key.hashCode());
        String value = getValue();
        return (hashCode * 59) + (value != null ? value.hashCode() : 43);
    }

    public boolean isInit() {
        return this.init;
    }

    public void setInit(boolean z) {
        this.init = z;
    }

    public void setKey(String str) {
        this.key = str;
    }

    public void setValue(String str) {
        this.value = str;
    }

    public String toString() {
        return "JsonHookDataDecrypt(key=" + getKey() + ", value=" + getValue() + ", init=" + isInit() + ")";
    }
}
